<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<br><br><br>

<s:form action="insertProduct">
		<s:hidden name="manufacturerID" value="%{#session.manuid}"/>
	    <h3> Add Product</h3><br><br>
		<table>
			<tr>
				<td class="registertdLabel">Name:</td>
				<td><s:textfield name="name" cssClass="inputtext" size="50" /></td><td><i id="mesnamepr" class="warning"></i></td>
			</tr>
			<tr>
				<td class="registertdLabel">Price:</td>
				<td><s:textfield name="price" cssClass="inputtext" size="30" /></td><td><i id="mesprice" class="warning"></i></td>
			</tr>
			<tr>
				<td class="registertdLabel">Quantity:</td>
				<td><s:textfield name="quantity" cssClass="inputtext" size="30" /></td><td><i id="mesquantity" class="warning"></i></td>
			</tr>
			<tr>
				<td class="registertdLabel">Description:</td>
				<td><s:textarea name="des" cssClass="inputtext"/></td>
			</tr>
			<tr>
				<td></td>
				<td>
					<input type="button"  value="Add" class="submitproduct" />
					<input class="decobut" type="button" value="Return" onclick="window.location='/kita/returnproduct.action?SelectedManuId=${manuid}'">
				</td>
			</tr>
		</table>	
	</s:form>